# $OpenBSD: Makefile,v 1.4 2014/09/18 15:15:03 kspillner Exp $

COMMENT =		ncurses front-end for taskwarrior

DISTNAME =		vit-1.2
REVISION =		1
CATEGORIES =		productivity

HOMEPAGE =		http://tasktools.org/projects/vit.html
MAINTAINER =		Kent R. Spillner <kspillner@openbsd.org>

# GPLv3+
PERMIT_PACKAGE_CDROM =	Yes

MASTER_SITES =		http://taskwarrior.org/download/
RUN_DEPENDS =		devel/p5-Curses \
			productivity/taskwarrior
BUILD_DEPENDS =		${RUN_DEPENDS}
CONFIGURE_STYLE =	gnu
NO_TEST =		Yes
ALL_TARGET =		build

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/vit ${PREFIX}/bin
	${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vit
	${INSTALL_DATA_DIR} ${PREFIX}/share/vit
	${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/vit/
	${INSTALL_DATA} ${WRKSRC}/commands ${PREFIX}/share/vit/commands

.include <bsd.port.mk>
